<template>
  <div class="cspC--tag">
    <div style="background: #f9f7f6; padding: 20px">
      <div :span="4">
        <button class="content-btn" @click="uploadVisible = true">
          上传资源
        </button>
      </div>
      <a-tabs default-active-key="0">
        <a-tab-pane key="0" tab="课程资源">
          <resource-list></resource-list>
        </a-tab-pane>
        <a-tab-pane key="1" tab="视频资源">
          <vedioSource></vedioSource>
        </a-tab-pane>
      </a-tabs>
      <br />
      <local-uploader :visible.sync="uploadVisible"></local-uploader>
    </div>
  </div>
</template>
<script>
import ResourceList from "./ResourceList";
import vedioSource from "./vedioSource";
import LocalUploader from "@/components/teacher/coursedetail/resource/Local";

export default {
  components: { ResourceList, vedioSource, LocalUploader },
  data() {
    return {
      uploadVisible: false,
    };
  },
  methods: {
    
  },
};
</script>
<style lang="scss">
.cspC--tag {
  height: 100%;
}
</style>
